<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!doctype html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>修改密码</title>
		<base href="<%=basePath%>">
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<style type="text/css">
		.actived{color:red;}
		.td{border:solid #add9c0; border-width:0px 1px 1px 0px; padding-left:10px; text}
		.textalign{text-align:right; width:20%;}
		.table{border:solid #add9c0; border-width:1px 0px 0px 1px;}
		</style>
		<link rel="stylesheet" type="text/css" href="<%=basePath%>css/jquery-ui.css">
		<%@ include file="/WEB-INF/jspf/taglibs.jspf"%>
		<%@ include file="/WEB-INF/jspf/statics.jspf"%>
		<link type="text/css" rel="stylesheet" href="<%=basePath%>/css/showBo.css" />
</head>
<body>
<%@include file="/WEB-INF/pages/common/header.jsp" %>
	<%@include file="/WEB-INF/pages/common/menu.jsp" %>
	<div id="rightqqqq" style="border-radius:5px;border:1px solidred;float:left;width:88%;height:10px;padding-left:4px;min-height:80%;overflow-y:hidden; overflow-x:hidden; ">
	<h1 style="font-size:20px;">密码修改</h1>
<div id="wrapper" style="width:100%;height:100%;">
    <div class="submit-form pusht" style="border:1px solid #000;padding-left:25%;padding-top:8%;padding-right:25%;padding-bottom:10%;"> 
         <form:form modelAttribute="form" id="page-forget-password-form" class="form-horizontal" name="submit-form" 
                           action="${ctx}/account/update_pwd"
                           method="post">
                <table class="form label-colored-form">
                    <tbody>
                    <tr class="sprite">
                        <td class="label-td"><label>原密码：</label></td>
                        <td><form:password path="loginPassword" id="loginPassword" name="loginPassword" maxlength="50" data-placement="top"  style="width:200px;" required="required"
                                                cssClass="form-control text" />
                                <font color="red">*<form:errors path="loginPassword" cssClass="errorMsg"></form:errors></font></td>
                    </tr>
                      <tr class="sprite">
                        <td class="label-td"><label>新密码：</label></td>
                        <td>
                        <form:password path="newLoginPassword" maxlength="50" data-placement="top"  style="width:200px;" name="newLoginPassword"
                                               id="newLoginPassword" cssClass="form-control text" required="required"/>
                                <font color="red">*<form:errors path="newLoginPassword" cssClass="errorMsg"></form:errors></font>
                        </td>
                    </tr>
                    <tr class="sprite">
                        <td class="label-td"><label>确认密码：</label></td>
                        <td>
                         <form:password path="repPassword" maxlength="50" data-placement="top"  style="width:200px;" name="repPassword"
                                               id="repPassword" cssClass="form-control text" required="required"/>
                                <font color="red">*<form:errors path="repPassword" cssClass="errorMsg"></form:errors></font>
                        </td>
                    </tr>     
                           
                    <tr class="sprite">
                        <td class="label-td"><label></label></td>
                        <td>
                            <span class="col-sm-2 col-md-offset-2">
                                       <input type="submit" id="submit" class="btn btn-primary" style="width:100px;"
                                              value="提交"/>
                                   </span>
                                   <span class="col-sm-2">
                                      <input type="reset" id="reset"  class="btn btn-primary" style="width:100px;"
                                              value="取消"/>
                                   </span>
                        </td>
                    </tr>
                    </tbody>
            </table>
             </form:form> 
    </div>
    </div>
</div>
</body>
</html>
<script type="text/javascript" src="<%=basePath%>/js/showBo.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
	    $('#navigation').accordion({
				header: '.head',
				navigation1: true, 
				event: 'click',
				fillSpace: true,
				active:2,
				animated: 'bounceslide'
		});
		$("a[class='actived']").removeAttr("class");
		$("#updatePwd").attr("class", "actived");
		if(${message!=null}){
			Showbo.Msg.alert('${message}');	
		}
	
    })
   
</script>